﻿namespace Cavity.Models
{
    using System.Threading;
    using System.Threading.Tasks;

    public interface ITask
    {
        TaskContinuationOptions ContinuationOptions { get; }

        TaskCreationOptions CreationOptions { get; }

        void Run(CancellationToken cancellation);
    }
}